/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.lczyfz.wisdom.modules.platform.dao;


import com.lczyfz.wisdom.common.persistence.CrudDao;
import com.lczyfz.wisdom.common.persistence.annotation.MyBatisDao;
import com.lczyfz.wisdom.modules.platform.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单DAO接口
 * @author css
 * @version 2019-09-26
 */
@MyBatisDao
public interface OrderDao extends CrudDao<Order> {

    public List<Order> getAllByUserId(@Param(value = "userId") String userId);

    public void updateState(@Param(value = "userId") String userId);

}